widget: Don't snapshot foreign children
authorMatthias Clasen <mclasen@redhat.com>
Mon, 18 Mar 2019 11:51:47 +0000 (07:51 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 28 May 2019 20:25:13 +0000 (20:25 +0000)
commit54662f4ca041c9e232216ed18a4eeea498be7a4c
treef6c2d27a449851019777d28a39867bdc178924ac
parent8713397948ec079135ed14ebc434053771d24726
widget: Don't snapshot foreign children

When snapshotting, we walk down the widget tree.
We need to skip children that have a different
surface, since those will do their own snapshot.
gtk/gtkwidget.c